package com.qf.api.form;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

/**
 * @Author: sin
 * @Date: 2025/5/17 14:32
 * @Description:
 **/
@Data
public class UserProfileForm {
    @NotBlank(message = "昵称不能为空")
    private String nickname;

    @NotBlank(message = "手机号不能为空")
    private String mobile;

    @NotBlank(message = "邮箱不能为空")
    private String email;

    @Range(min = 0, max = 1, message = "性别只能是0或1")
    private Integer gender;
}
